From 6598d2e851f416caa2a2230579468c9e52e11154 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Sat, 3 Aug 2024 19:05:57 -0400 Subject: [PATCH] debian/rules: Use pyproject instead of distutils for pybuild --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 26baabe..05f4cac 100755 --- a/debian/rules +++ b/debian/rules @@ -41,14 +41,14 @@ override_dh_auto_configure: dh_auto_configure -- $(BUILD_OPTIONS) execute_after_dh_auto_build: - dh_auto_build -O--buildsystem=pybuild -- -s distutils --after-build \ + dh_auto_build -O--buildsystem=pybuild -- -s pyproject --after-build \ "cp obj-$(DEB_BUILD_GNU_TYPE)/opencc_clib.*.so {build_dir}/opencc/clib/" execute_after_dh_auto_test: - dh_auto_test -O--buildsystem=pybuild -- -s distutils + dh_auto_test -O--buildsystem=pybuild -- -s pyproject execute_after_dh_auto_install: - dh_auto_install -O--buildsystem=pybuild -- -s distutils + dh_auto_install -O--buildsystem=pybuild -- -s pyproject chrpath --delete debian/tmp/usr/lib/*/dist-packages/opencc/clib/*.so for i in debian/tmp/usr/lib/*/dist-packages/opencc/clib/; do \ mkdir -p $$i/share/; \ -- 2.30.2